package com.xcjh.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.xcjh.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User extends BaseEntity {

    public static final String USER_TYPE_APP="app";

    /**
     * 序列化时候使用
     */
    private static final long serialVersionUID = 1L;

    @TableField
    private String type;

    @TableField
    private String nikeName;

    @TableField
    private Integer age;

    @TableField
    private String headPortrait;

    @TableField
    private String autograph;

    @TableField
    private String address;

    @TableField
    private String gender;

    @TableField
    private Integer state;

    @TableField
    private String currentLimiting;

    @TableField
    private String hobby;

    @TableField
    private Long appId;

    @TableField
    private String backGround;
}